package com.zenith.api.po.dto.edu;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "EduCertificateDTO", description = "证书DTO")
public class EduCertificateDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "学生ID")
    private Long studentId;
    
    @Schema(description = "课程ID")
    private Long courseId;
    
    @Schema(description = "证书编号")
    private String certNo;
    
    @Schema(description = "颁发时间")
    private LocalDateTime issueTime;
    
    @Schema(description = "有效期（为空则表示永久）")
    private LocalDateTime expireTime;
    
    @Schema(description = "状态：1-有效 2-作废")
    private Integer status;
}